﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FlashUpload.aspx.cs" Inherits="THANHTUNGO.Portal.Modules.FileExpress.Pages.FlashUpload" %>

<html>
<SCRIPT language="JavaScript">
function UploadComplete() 
{
	alert('Upload thành công!');
	if (!confirm('Bạn có tiếp tục upload không?')) 
	{
	    window.close();
	}
}
</SCRIPT>
<body>
    <form id="form1" runat="server">
        <div>
            <object id="Object1" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" height="120" width="580">
                <param name="allowScriptAccess" value="sameDomain">
                <param name="movie" value="<%= GetFlashPath() %> ">
                <param name="quality" value="high">
                <param name="wmode" value="transparent">
                <param name="FlashVars" value="uploadPage=Upload.axd<%=GetFlashVars()%>&completeFunction=UploadComplete()">                
            </object>
        </div>
    </form>
</body>
</html> 